﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Outlook2010Translate
{
    [Serializable]
    public class AddValue : IComparable
    {
        private string m_Display;
        private string m_Value;
        public AddValue(string Display, string Value)
        {
            m_Display = Display;
            m_Value = Value;
        }
        public string Display
        {
            get { return m_Display; }
        }
        public string Value
        {
            get { return m_Value; }
        }

        #region IComparable Members

        public int CompareTo(object obj)
        {
            AddValue av = (AddValue)obj;
            return String.Compare(this.Display, av.Display);
        }

        #endregion
    }
}
